package com.base.service;

import java.util.List;

import com.common.bean.Cardmaintype;
import com.common.bean.Cardsubtype;
import com.common.util.PagerModel;

public interface CardTypeService {
	
	//对Cardmaintype的增删改查
	public void addCardmaintype(Cardmaintype cardmaintype);
	
	public void removeCardmaintype(long cardmaintypeno);
	
	public void updateCardmaintype(Cardmaintype cardmaintype);
	
	public List<Cardmaintype> findAllCardmaintype();
	
	public Cardmaintype findCardmaintypeById(long cardmaintypeno);
	
	public Cardmaintype findCardmaintypeByName(String cardmaintypename);
	
	public PagerModel findCardmaintypeForPager();
	
	//对Cardsubtype的增删改查
	public void addCardsubtype(Cardsubtype cardsubtype);
	
	public void removeCardsubtype(long cardsubtypeno);
	
	public void updateCardsubtype(Cardsubtype cardsubtype);
	
	public List<Cardsubtype> findAllCardsubtype();
	
	public Cardsubtype findCardsubtypeById(long cardsubtypeno);
	
	public Cardsubtype findCardsubtypeByName(String cardsubtypename);
	
	public PagerModel findCardsubtypeForPager(long cardmaintypeno);
} 
